Skip to content

Instantly share code, notes, and snippets.

@geohot
geohot / syllabus.md
Last active November 23, 2026 13:51
Compilers for Machine Learning

Compilers for Machine Learning

A hands-on one semester course where students build their own compiler from scratch, starting from elementwise programs and ending with training SOTA LLMs on GPUs. This course aggressively builds on the previous week, and is an exercise in slop management. If you let any slop in early, it will compound and you will not finish the class.

Course description: This course covers the design and implementation of a modern machine learning compiler, and examines the interaction between IR design, hardware capabilities, and the structure of machine learning programs. Topics covered include term rewriting, code generation, movement operators, kernel fusion, memory hierarchies, GPU architecture, automatic differentiation, and flash attention. It is a project course, providing experience with performance-oriented programming, managing a codebase that grows all semester, and working in 1 or 2 person teams, culminating in a compiler capable of training modern LLMs.

Prerequisites: This c

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 23, 2026 13:50
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@veekaybee
veekaybee / normcore-llm.md
Last active November 23, 2026 13:43
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@logistic-bot
logistic-bot / gruvbox.gpl
Last active November 23, 2026 13:37
Gruvbox dark palette for inkscape and gimp
GIMP Palette
Name: Gruvbox dark
Columns: 50
40 40 40 bg
146 131 116 gray
168 153 132 gray
235 219 178 fg
204 36 29 red
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
@gibilli111
gibilli111 / HOWTO_unlock_languages.md
Last active November 23, 2026 13:34
Unlock all languages on Sony a6400/a6600 (region-locked cameras) — step-by-step guide + ready-to-use script

How to unlock all languages on Sony Alpha a6400 / a6600 (and similar)

If you have a grey-market / region-locked Sony camera where the language menu is missing languages like English or Italian, and the official PMCA-RE "tweak" tool tells you "No tweaks available", this guide is for you. No programming knowledge required — just follow the steps.

This has been tested and confirmed working on a Sony ILCE-6400. It should also work on the a6600 and possibly other cameras of the same generation, since they share the same USB service protocol.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@aleks-mariusz
aleks-mariusz / _index.md
Last active November 23, 2026 13:21
setting up VCSA 7.0.3 (vCenter Server Appliance v7.x) in LibVirt/KVM/QEMU

Running a VCSA 7.0.3 (VCenter Server Appliance v7.x) on KVM/libvirtd - using virsh/virt-install

I came across this helpful gist where it described trying this with an old version of the VCSA (v6.0) using Ansible.

While I am not using ansible directly (yet), I was able to use the steps there as a starting point and adapt the workflow to be able to bring-up VCSA v7.0.3 in libvirt/KVM.. It should work for any 7.x version, but no guarentees if it will work with VCSA v8.x

There were some slight things i had to adapt (namely, the guestfish commands; the filesystem layout changed since this ansible workbook was created in the newer version of the VCSA).

Environment

@GAM3RG33K
GAM3RG33K / ReadMe.md
Created February 14, 2020 07:07
A Guide to setup and use Plantuml